package com.gljx.web.dao;

import com.gljx.web.Entity.Sharecarthreeregentry;
import com.gljx.web.Entity.Sharecartworegentry;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import org.springframework.stereotype.Component;

@Component
public interface SharecarthreeregentryMapper {
    int deleteByPrimaryKey(String fid);

    int insert(Sharecarthreeregentry record);

    int insertSelective(Sharecarthreeregentry record);

    Sharecarthreeregentry selectByPrimaryKey(String fid);

    int updateByPrimaryKeySelective(Sharecarthreeregentry record);

    int updateByPrimaryKey(Sharecarthreeregentry record);

    List<Sharecarthreeregentry> selectSharecarthreeregentryByFparentid(@Param("fid") String fid, @Param("cfstudentname") String cfstudentname);

    Sharecarthreeregentry selectPersonCarByFid(String id);

    void deleteByFparentid(String fparentid);

    //此方法查询的内容不是外面列表查询的内容是点击查看的内容
    List<Sharecarthreeregentry> selectSharecarthreeregentryByFparentidAsthree(String fid);

    //根据练车id查询科目三退练的人  必须是已经分车的人
    List<Sharecarthreeregentry> selectByWindowsPageAsSharecarthreeregentry(@Param("name") String name, @Param("cflcsjid") String cflcsjid);

    List<Sharecarthreeregentry> selectStudentById(String id);

    String[] selectStudentidByParentid(String fparent);

    Sharecarthreeregentry selectShareCarthreeregenByName(String cfstudentname);
}